gdbsx_guestmemio: allow it to check domain
authorDon Slutz <dslutz@verizon.com>
Mon, 22 Jun 2015 09:40:28 +0000 (11:40 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 22 Jun 2015 09:40:28 +0000 (11:40 +0200)
commit2abed01bf44e03dac3083e382d8c869ab3c19eb8
treecd1971f7d9d584f72550c7cf89c39a29968fa03e
parentb58214a24231a1f2a7e09ae9cc3014eff752918b
gdbsx_guestmemio: allow it to check domain

gdbsx_guest_mem_io() does not get d passed, it expects to handle the
domain lookup itself. Specifically, the caller of
XEN_DOMCTL_gdbsx_guestmemio is expected to use DOMID_IDLE to interact
with the hypervisor, rather than a domain, which doesn't interact well
with with the domain rcu lock.

Signed-off-by: Don Slutz <dslutz@verizon.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/common/domctl.c